package com.test.dao;

import com.test.pojo.User;
import com.write.ibatis.annotation.LFSelect;

import java.util.List;

/**
 * @author ：laofang
 * @date ：Created in 2021/3/24 17:47
 */
public interface UserDao {

    @LFSelect(value = "select * from tb_user")
    public List<User> findAll();

    @LFSelect(value = "select * from tb_user where id=?")
    public User findById(Integer id);
}
